﻿namespace BorgExt
{
    public class Param : Qualifiable
    {
        public PlugType PlugType { get; internal set; }
        public object Value { get; internal set; }

        public override bool IsQualified
        {
            get { return Qualifier.IsQualified(this); }
        }

        internal Param(int id, string name)
            : base(id, name)
        { }

        public override bool Qualify()
        {
            return Qualifier.InternalWeakQualify(this);
        }

        internal override AssemblyElement GetAssemblyElement()
        {
            return PlugType.ExtensionType.Plugin;
        }
    }
}

